package sv.com.renacempleo.dao.red;

import java.util.List;

import sv.com.renacempleo.dao.BaseDao;
import sv.com.renacempleo.exception.WebException;
import sv.com.renacempleo.web.security.CustomUser;

public interface RedEmpresasDao extends BaseDao{
	
	public List<Object[]> findAllActivesAsArray() throws WebException;
	public List<Object[]> findAllInactivesAsArray() throws WebException;
	public List<Object[]> findAllAsArray() throws WebException;
	public List<Object[]> findEmpresaByOficina(Long ctgOficinaId) throws WebException;
	public List<Object[]> findEmpresaByAgente(Long ctgEmpleadoId) throws WebException;
	public List<Object[]> findEmpresaByNit(String redEmpresaNit) throws WebException;
	public List<Object[]> findEmpresaByRegistro(String redEmpresaRegistro) throws WebException;
	public List<Object[]> findEmpresaByFolio(Long redEmpresaFolio) throws WebException;
	public List<Object[]> findEmpresaByCriterios(int opcion, String estado, String nombreComercial, 
			CustomUser cu, Long redEmpresaFolio) throws WebException;
	

}
